package com.yaorange.nongjt.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yaorange.common.annotation.Excel;
import com.yaorange.common.core.domain.BaseEntity;

/**
 * 产品开具统计对象 njt_invoice_statistics
 * 
 * @author zly
 * @date 2025-03-07
 */
public class NjtInvoiceStatistics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long id;

    /** 生产主体 */
    @Excel(name = "生产主体")
    private String producer;

    /** 法人姓名 */
    @Excel(name = "法人姓名")
    private String legalRepresentative;

    /** 注册手机 */
    @Excel(name = "注册手机")
    private String registrationPhone;

    /** 省 */
    @Excel(name = "省")
    private String province;

    /** 市 */
    @Excel(name = "市")
    private String city;

    /** 区/县 */
    @Excel(name = "区/县")
    private String district;

    /** 镇/乡 */
    @Excel(name = "镇/乡")
    private String town;

    /** 产品数量（单位：件/个） */
    @Excel(name = "产品数量", readConverterExp = "单=位：件/个")
    private Long productQuantity;

    /** 已开具数量（单位：件/个） */
    @Excel(name = "已开具数量", readConverterExp = "单=位：件/个")
    private Long issuedQuantity;

    /** 总数量或重量（整数为数量，小数为重量公斤） */
    @Excel(name = "总数量或重量", readConverterExp = "整=数为数量，小数为重量公斤")
    private BigDecimal totalAmount;

    /** 开具时间 */
    private Date issueDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProducer(String producer) 
    {
        this.producer = producer;
    }

    public String getProducer() 
    {
        return producer;
    }
    public void setLegalRepresentative(String legalRepresentative) 
    {
        this.legalRepresentative = legalRepresentative;
    }

    public String getLegalRepresentative() 
    {
        return legalRepresentative;
    }
    public void setRegistrationPhone(String registrationPhone) 
    {
        this.registrationPhone = registrationPhone;
    }

    public String getRegistrationPhone() 
    {
        return registrationPhone;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setDistrict(String district) 
    {
        this.district = district;
    }

    public String getDistrict() 
    {
        return district;
    }
    public void setTown(String town) 
    {
        this.town = town;
    }

    public String getTown() 
    {
        return town;
    }
    public void setProductQuantity(Long productQuantity) 
    {
        this.productQuantity = productQuantity;
    }

    public Long getProductQuantity() 
    {
        return productQuantity;
    }
    public void setIssuedQuantity(Long issuedQuantity) 
    {
        this.issuedQuantity = issuedQuantity;
    }

    public Long getIssuedQuantity() 
    {
        return issuedQuantity;
    }
    public void setTotalAmount(BigDecimal totalAmount) 
    {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalAmount() 
    {
        return totalAmount;
    }
    public void setIssueDate(Date issueDate) 
    {
        this.issueDate = issueDate;
    }

    public Date getIssueDate() 
    {
        return issueDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("producer", getProducer())
            .append("legalRepresentative", getLegalRepresentative())
            .append("registrationPhone", getRegistrationPhone())
            .append("province", getProvince())
            .append("city", getCity())
            .append("district", getDistrict())
            .append("town", getTown())
            .append("productQuantity", getProductQuantity())
            .append("issuedQuantity", getIssuedQuantity())
            .append("totalAmount", getTotalAmount())
            .append("issueDate", getIssueDate())
            .toString();
    }
}
